package main

import "my_go_open/utils"

func main() {
	s := "abc123"
	println(utils.StrMd5(s), utils.StrSha1(s))
	s = "abc_def_ghi"
	s1 := utils.StrCaseToCamel(s)
	s = utils.StrCamelToCase(s1)
	println(s1, s)

	n := "123456789012345678"
	println(utils.StrAToFloat64(n))
	n = "1234567890123456789"
	println(utils.StrAToFloat64(n))
	n = "1234567890"
	println(utils.StrAToFloat64(n))

	str := "Abc1234Abc"
	find := "Abc"
	println(utils.StrStartWith(str, find), utils.StrEndWith(str, find))

	str = "aa'b\"\\"
	println(utils.AddSlashes(str))

	println(utils.StrNiceSize(100000000000000000))

	s2, e2 := utils.StrFileName(" 爱1在2西a元_前-.t.xt ")
	utils.VarDump(s2, e2)

}
